←Select platform

SetDateTimeValue(DicomElement,DicomDateTimeValue[]) Method

Summary
Sets the Date-Time values of a Data Element.
Syntax
C#
VB
C++
Java
public bool SetDateTimeValue( 
   DicomElement element, 
   DicomDateTimeValue[] value 
) 
Public Overloads Function SetDateTimeValue( _ 
   ByVal element As DicomElement, _ 
   ByVal value() As DicomDateTimeValue _ 
) As Boolean 
public boolean setDateTimeValue(DicomElement element, DicomDateTimeValue[] values) 
public: 
bool SetDateTimeValue(  
   DicomElement^ element, 
   array<DicomDateTimeValue>^ value 
)  

Parameters

element
An item in the Data Set.

value
Pointer to an array of DicomDateTimeValue objects that contain the Date Time values to set.

Return Value

true if the DateTime values were set successfully; otherwise, it is false (the DateTime values of the Data Element could not be set).

Remarks

This method can be called only if the Value Representation of the Data Element is DicomVRType.DT For more information about Value Representations, refer to Default Value Representation Table.

Example

For an example, refer to SetIntValue.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.